#include "threadPool.hpp"
#include <unistd.h>
int main()
{
    ThreadPool<int> *tp = ThreadPool<int>::getInstance();
    tp->start();
    sleep(1);
    srand((unsigned int)time(nullptr));
    while (1)
    {
        tp->push(rand() % 10000);
        sleep(1);
    }
    return 0;
}